package com.deer.wms.inventory.service;

import com.deer.wms.intercept.common.data.CurrentUser;
import com.deer.wms.inventory.model.stockTake.StockTakeLog;
import com.deer.wms.inventory.model.stockTake.StockTakeLogDto;
import com.deer.wms.project.root.service.SuperService;

import java.util.List;


/**
 * Created by csl on 2021/04/13.
 */
public interface StockTakeLogService extends SuperService<StockTakeLog> {

    //保存盘点记录
    void saveLog(StockTakeLogDto stockTakeLogDto, CurrentUser currentUser);

    //根据盘点下架任务号查询盘点记录
    List<StockTakeLog> findList(Integer wareId, String cellCode);

    //根据盘点任务号查询盘点差异表
    List<StockTakeLog> findResidualList(Integer wareId, String stockMasterCode);

    //根据盘点任务号查询盘点盈亏记录
    List<StockTakeLog> findProfitOrLossList(Integer wareId, String stockMasterCode, Integer profitOrLoss);

  
}
